package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.DdmShoppingCart;
import com.stlm2.dems.dao.DdmShoppingCartDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

import java.util.List;

@Repository("ddmShoppingCartDao")
public class DdmShoppingCartDaoImpl extends BaseDaoImpl<DdmShoppingCart> implements DdmShoppingCartDao {
    @Override
    public List<DdmShoppingCart> getByUserId(Integer userId) {
        return selectList("getByUserId",userId);
    }
}